<?php 
$baseUrl		= $data['baseUrl'];
$baseUrlSave	= $data['baseUrlSave'];
$sys_page		= $data['sys_page'];
?>
<?php
if ($sys_page=="main")
{
	$this->view($data['template_view']."main_content", $data);
	$this->view($data['template_view']."main_close");
}
elseif($sys_page=="detail")
{
	$this->view($data['template_view']."detail_content", $data);
	switch($data['module'])
	{
		case "page":
			$this->view($data['template_view']."page_detail", $data);
		break;
		case "kontak":
			$this->view($data['template_view']."kontak", $data);
		break;
		case "pendaftaran":
			$this->view($data['template_view']."pendaftaran", $data);
		break;
		case "content_detail":
			$this->view($data['template_view']."content_detail", $data);
		break;
		case "materi_detail":
			$this->view($data['template_view']."materi_detail", $data);
		break;
		case "arsip_galeri":
			$this->view($data['template_view']."arsip_galeri", $data);
		break;
		case "detail_album":
			$this->view($data['template_view']."detail_album", $data);
		break;
		case "detail_galeri":
			$this->view($data['template_view']."detail_galeri", $data);
		break;
		case "arsip_berita":
			$this->view($data['template_view']."arsip_berita", $data);
		break;
		case "arsip_elearning":
			$this->view($data['template_view']."arsip_elearning", $data);
		break;
		case "pmb":
			$this->view($data['template_view']."pmb", $data);
		break;
		case "list_materi":
			$this->view($data['template_view']."list_materi", $data);
		break;
		case "maps":
			$this->view($data['template_view']."maps", $data);
		break;
		case "support":
			$this->view($data['template_view']."support", $data);
		break;
	}
	$this->view($data['template_view']."detail_sidebar", $data);
	$this->view($data['template_view']."detail_close", $data);
}
?>